<?php 

namespace Home\Model;

use Think\Model;

class CommentModel extends Model{
    
    protected $_validate = array(
        array('username','require','昵称不能为空'),
        array('content','require','评论内容不能为空'),
    );
    
}

?>